* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f5f5f5;
    color: #333;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 30px;
}

h1 {
    font-size: 2.5em;
    color: #2c3e50;
    margin-bottom: 10px;
}

.date {
    color: #7f8c8d;
    font-size: 1.1em;
}

.input-section {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

textarea {
    flex: 1;
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 5px;
    resize: vertical;
    min-height: 60px;
    font-size: 1em;
}

button {
    padding: 10px 20px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #2980b9;
}

.filter-section {
    margin-bottom: 20px;
    display: flex;
    gap: 10px;
    justify-content: center;
}

.filter-btn {
    background-color: #95a5a6;
}

.filter-btn.active {
    background-color: #2c3e50;
}

.task-item {
    background-color: white;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation: fadeIn 0.3s ease-in;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.task-content {
    flex: 1;
    margin-right: 20px;
}

.task-actions {
    display: flex;
    gap: 10px;
}

.completed .task-content {
    text-decoration: line-through;
    color: #7f8c8d;
}

.delete-btn {
    background-color: #e74c3c;
}

.complete-btn {
    background-color: #2ecc71;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.main-content {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.todo-section {
    flex: 1;
}

.calendar-section {
    width: 300px;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.calendar-header button {
    padding: 5px 10px;
    background-color: #3498db;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-weight: bold;
    margin-bottom: 10px;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #eee;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.calendar-day:hover {
    background-color: #f5f5f5;
}

.calendar-day.today {
    background-color: #e8f4f8;
    border-color: #3498db;
}

.calendar-day.other-month {
    color: #ccc;
}

.task-count {
    font-size: 0.8em;
    color: #3498db;
    margin-top: 2px;
}

@media (max-width: 768px) {
    .main-content {
        flex-direction: column;
    }
    
    .calendar-section {
        width: 100%;
    }
} 